Program to find absolute value of a given number
Given an integer N, The task is to find the absolute value of the given integer....
read more
Php Program to multiply two matrices
Given two matrices, the task to multiply them. Matrices can either be square or rectangular....
read more
Php Program to Print a given matrix in reverse spiral form
Given a 2D array, print it in reverse spiral form. We have already discussed Print a given matrix in spiral form. This article discusses how to do the reverse printing. See the following examples....
read more
Php Program for Frequencies of even and odd numbers in a matrix
Given a matrix of order m*n then the task is to find the frequency of even and odd numbers in matrix Examples:...
read more
Php Program to check if matrix is upper triangular
Given a square matrix and the task is to check the matrix is in upper triangular form or not. A square matrix is called upper triangular if all the entries below the main diagonal are zero....
read more
Php Program for Markov matrix
Given a m x n 2D matrix, check if it is a Markov Matrix.Markov Matrix: The matrix in which the sum of each row is equal to 1....
read more
Convert a number from base A to base B
Given two positive integers A and B and a string S of size N,  denoting a number in base A, the task is to convert the given string S from base A to base B....
read more
C program to count zeros and ones in binary representation of a number
Given a number N, the task is to write C program to count the number of 0s and 1s in the binary representation of N....
read more
Complement of a number with any base b
In this post, a general method of finding complement with any arbitrary base is discussed....
read more
Java Program for Markov matrix
Given a m x n 2D matrix, check if it is a Markov Matrix.Markov Matrix : The matrix in which the sum of each row is equal to 1....
read more
Java Program to Print matrix in antispiral form
Given a 2D array, the task is to print matrix in anti spiral form:Examples:...
read more
Most similar string
Given a string str and an array of strings arr[] of size N, the task is to print a string from arr[], which has maximum count of matching characters with str....
read more